<form class="layui-form" action="" method="post" name="myform" id="myform">
	<input type="hidden" name="__token__" value="{$Request.token}" />
	<div class="manniucms-sub-content" id="payment-add-page">
		<div class="row">
			<div class="col-md-9">
				<div class="layui-box">
					<fieldset class="layui-elem-field">
						<legend>支付方式添加</legend>
						<div class="layui-field-box">
							<div class="layui-form-item">
								<label class="layui-form-label color_read">文件名：</label>
								<div class="layui-input-block">
									<input type="text" name="pay_code" required lay-verify="required" placeholder="文件名" autocomplete="off" class="layui-input">
									<div class="layui-form-mid">支付方式的英文缩写,该支付方式处理插件的文件名</div>
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label color_read">名称：</label>
								<div class="layui-input-block">
									<input type="text" name="pay_name" required lay-verify="required" placeholder="名称" autocomplete="off" class="layui-input">
									<div class="layui-form-mid">支付方式名称</div>
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">配置参数：</label>
								<div class="layui-input-block">
									<textarea name="pay_config" placeholder="参数名|参数值" class="layui-textarea" required lay-verify="required"></textarea>
									<div class="layui-form-mid">支付方式的配置信息,包括商户号和密钥等，每行一组<br />示例：<br />参数名1|参数值1<br />参数名2|参数值2<br />......</div>
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">费用：</label>
								<div class="layui-input-block">
									<input type="text" name="pay_fee" placeholder="费用" autocomplete="off" class="layui-input">
									<div class="layui-form-mid">可填写支付手续费率</div>
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">描述：</label>
								<div class="layui-input-block">
									<textarea name="pay_desc" placeholder="支付方式描述" class="layui-textarea"></textarea>
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label color_read">显示顺序：</label>
								<div class="layui-input-block">
									<input type="text" name="pay_order" value="0" placeholder="整数" autocomplete="off" class="layui-input">
									<div class="layui-form-mid">支付方式在页面的显示顺序</div>
								</div>
							</div>
						</div>
					</fieldset>
				</div>
			</div>
			<div class="col-md-3 msc-form-side">
				<div class="layui-box">
					<fieldset class="layui-elem-field">
						<legend>基本</legend>
						<div class="layui-field-box">
							<div class="layui-form-item">
								<fieldset class="layui-elem-field layui-field-title">
									<legend><span class="color_read">是否货到付款</span></legend>
								</fieldset>
								<div class="layui-input-block">
									<input type="radio" name="is_cod" value="1" title="是">
									<input type="radio" name="is_cod" value="0" title="否" checked>
								</div>
							</div>
							<div class="layui-form-item">
								<fieldset class="layui-elem-field layui-field-title">
									<legend><span class="color_read">是否在线支付</span></legend>
								</fieldset>
								<div class="layui-input-block">
									<input type="radio" name="is_online" value="1" title="是" checked>
									<input type="radio" name="is_online" value="0" title="否">
								</div>
							</div>
							<div class="layui-form-item">
								<fieldset class="layui-elem-field layui-field-title">
									<legend><span class="color_read">状态</span></legend>
								</fieldset>
								<div class="layui-input-block">
									<input type="radio" name="status" value="1" title="启用" checked>
									<input type="radio" name="status" value="0" title="禁用">
								</div>
							</div>
						</div>
					</fieldset>
				</div>
			</div>
		</div>
	</div>
	<!-- 底部 -->
	<div class="manniucms-sub-footer">
		<div class="layui-box msf-box text-center">
			<div class="layui-inline">
				<button class="layui-btn" lay-submit><i class="layui-icon">&#xe60a;</i> 保存</button>
				<button type="button" class="layui-btn layui-btn-primary goback"><i class="layui-icon">&#xe603;</i> 返回</button>
			</div>
		</div>
	</div>
</form>